﻿<%@ page language="java" import="java.util.*,org.hyy.vo.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>分类检索 </title>
	<link href="css/index.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
	<%@ include file="public/head.jsp" %>
		<div id="hr-body">
			<div class="hr-body-content">
				
				<table class="hr-body-layout" width="100%">
					<tbody>
						<tr>
							<%@ include file="public/left.jsp" %>

							<td class="hr-bl-right" valign="top">
								  <div class="LoginWrap" style="padding:10px;width:680px; text-align:left;">
									  <h2>分类检索-><a href="showcategory?menu=1">${menu} </a></h2>
									  <br />
									 <div class="GoodsSearchWarp">
									   <div class="GoodsSearchWarp">
									   <s:if test="showList != null">
									   	<s:iterator value="showList" id="category">
									   		<div class="items">
												<div class="goodpic">
													<a href="showproduct?cid=${category.id}" target="_blank" >
														<img src="goods-images/${category.id}c.jpg" alt="${category.name}" border="0"/>
													</a>
												</div>
												<div style="float:left"> 
													<a href="showproduct?cid=${category.id}" target="_blank">${category.name}</a>
													<ul>
														<li class="intro">${category.descr}</li>
													</ul>
												</div>
												<div class="clear"></div>
											</div>
									   	</s:iterator>
									   	<br style="clear: both;" />
									   </s:if>
									   <s:else>
									    <h1>此类别中暂时还没有子类别</h1>
									   </s:else>
										</div>
									</div>
								</div>
							</td>
						</tr>
					</tbody>
			</table>
			<%@ include file="public/bottom.jsp" %>
		</div>
	</div>
	<%@ include file="public/foot.jsp" %>	
  </body>
</html>
